﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sprout.Schedule.Dtos
{
    /// <summary>
    /// 计划任务日志表
    /// </summary>
    public class TaskLog
    {
        /// <summary>
        ///
        ///</summary>
        public long Id { get; set; }
        /// <summary>
        ///任务ID
        ///</summary>
        public long TaskId { get; set; }
        /// <summary>
        ///日志内容
        ///</summary>
        public string Content { get; set; }
        /// <summary>
        ///异常
        ///</summary>
        public string Exception { get; set; }
        /// <summary>
        ///时间
        ///</summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }
    }
}
